-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BE] 체크리스트 업데이트 시 지하철 역도 변경되도록 수정한다 #882
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨어요 👍 사소한 RC있습니다~
@Query("UPDATE ChecklistStation cs " + | ||
"SET cs.deleted = true " + | ||
"WHERE cs.checklist.id = :checklistId") | ||
void deleteAllByChecklistId(Long checklistId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@param 붙여주세용 ㅠㅠ 자꾸 터져요 ..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
반영했습니다!
@@ -157,6 +157,15 @@ public static ChecklistRequest CHECKLIST_UPDATE_REQUEST() { | |||
); | |||
} | |||
|
|||
public static ChecklistRequestV1 CHECKLIST_UPDATE_REQUEST_V1() { | |||
return new ChecklistRequestV1( | |||
RoomFixture.ROOM_UPDATE_REQUEST(), List.of(1, 2, 3, 4), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RoomFixture.ROOM_UPDATE_REQUEST(), List.of(1, 2, 3, 4), | |
RoomFixture.ROOM_UPDATE_REQUEST(), List.of(Option.BED.getId(), Option.INDUCTION.getId() ... ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
반영했습니다!
@@ -63,4 +64,19 @@ void findByChecklistId_noData_exception() { | |||
assertThat(checklistStationRepository.findByChecklist(checklist)) | |||
.isEmpty(); | |||
} | |||
|
|||
@DisplayName("체크리스트 아이디를 통한 삭제 성공") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DisplayName에 지하철에 대한 내용이 포함되면 좋겠어요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ChecklistStationRepositoryTest라 저는 포함하지 않아도 괜찮을 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
일단 안붙이는 방향으로 가보겠습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다~
@@ -63,4 +64,19 @@ void findByChecklistId_noData_exception() { | |||
assertThat(checklistStationRepository.findByChecklist(checklist)) | |||
.isEmpty(); | |||
} | |||
|
|||
@DisplayName("체크리스트 아이디를 통한 삭제 성공") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ChecklistStationRepositoryTest라 저는 포함하지 않아도 괜찮을 것 같아요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니닷~
❗ Issue
✨ 구현한 기능
지하철 역 업데이트 오류 수정
📢 논의하고 싶은 내용
🎸 기타